
export function Sphere(size = 100) {
    //
    THREE.Mesh.call(this);

    // type
    this.type = 'Sphere';
    
    // geometry
    this.geometry = new THREE.SphereGeometry(size, 64, 64);
    this.geometry.scale(1, 1, -1);

    // material
    this.material = new THREE.MeshBasicMaterial({ transparent: true });

    //
    this.rotation.x = 90 * Math.PI / 180;
}

//
Sphere.prototype = Object.create(THREE.Mesh.prototype);